/**
 * mixin函数和%placeholder
 * @Author yuanyexu
 * @Date 2021-08-03
 */

%clearfix {
  &::after {
    content: '';
    display: table;
    clear: both;
  }
}

%scrollBar {
  &::-webkit-scrollbar-track-piece {
    background: #f2f2f2;
  }

  &::-webkit-scrollbar {
    width: 6px;
  }

  &::-webkit-scrollbar-thumb {
    background: #909399c5;
    border-radius: 20px;
  }
}

%relative {
  position: relative;
  width: 100%;
  height: 100%;
}

// flex布局
%flex {
  display: flex;
  align-items: center;
}

// 容器样式
%container {
  width: 100%;
  padding: $margin-standard;
  border-radius: 12px;
  background-color: $color-blank;
}

// h1-h6标题样式
%title {
  margin: 0;
  padding-left: $margin-small;
  border-left: 3px solid $color-theme;
  font-weight: 500;
}
